#ifndef MYTHREAD_H
#define MYTHREAD_H

#include <QThread>
#include <QTimer>

class MyThread final : public QThread
{
    Q_OBJECT
public:
    MyThread();
    ~MyThread();

protected:
    void run() override;

private slots:
    void OnTimeout();
private:
    QTimer *m_timer = nullptr;
};

#endif // MYTHREAD_H
